package promote.brozen.algorithm.tree.binary.bst;

import promote.brozen.algorithm.tree.binary.BinaryTreeNode;

/**
 * @author Brozen
 * @date 2019/12/19 8:21 AM
 */
public class BSTTreeNode<K> extends BinaryTreeNode<K, BSTTreeNode<K>> {

    public BSTTreeNode(K key) {
        super(key);
    }

    @Override
    public BSTTreeNode<K> getParent() {
        return (BSTTreeNode<K>) super.getParent();
    }
}
